//
//  JuDifferent.swift
//  JuSwift
//
//  Created by Juvid on 2018/4/27.
//  Copyright © 2018年 Juvid. All rights reserved.
//

import UIKit
import JuSwiftFrameWork

@objcMembers
class JuDifferent: NSObject {
    var juString = String.init()
    var juArray = Array<Any>.init()
    var juDictionary = Dictionary<String, Any>.init()
    var juNsDic = NSDictionary.init()
    var juOccupations = ["zhu":"123","tian":"234"]
    var juScores = [73,12,65,"zhu"] as [Any]
    func juLogType()  {
        self.setValue("字符串", forKeyPath: "juString")
        juArray.append("123456")
        juDictionary.updateValue("9865", forKey: "jute")
        juDictionary["tian"] = "5432"
        juOccupations["wei"] = "twtre"

        NSLog("类型 %@ %@ %@ %@ %@",juScores,juOccupations,juString,juArray,juDictionary)
        self.juLogSet()
        let juRunTime = JuRunTime.init()
        juRunTime.juLogType()

    }

    open  var _tittle: String?
    open var tittle: String?{
        set{
            _tittle=newValue
        }
        get{
            return _tittle
        }
    }
    open func juLogSet()  {
        self.setValue("字符串2", forKeyPath: "tittle")
        NSLog(" %@ %@ ",_tittle ?? "",tittle ?? "")
        self.setValue("字符串1", forKeyPath: "_tittle")
        NSLog(" %@ %@ ",_tittle ?? "",tittle ?? "")

    }


}
